﻿<%@ Page Language="C#" MasterPageFile="~/Common.Master" AutoEventWireup="true" CodeBehind="Book.aspx.cs"
    Inherits="com.tiyma.web.Book" Title="无标题页" %>

<asp:Content ID="c3" ContentPlaceHolderID="phContent" runat="server">
 <script src="/javascript/ajax.js" type="text/javascript"></script>
 <script>
 function AddBookCase()
 {

    if(typeof(loginUserId)=="undefined" || loginUserId==null || loginUserId=="")
    {
        alert("您还没有登录，请先登录才能把书加入书架!");
        return;
    }
    
    if(typeof(bookName)=="undefined" || bookName==null || bookName=="")
    {
        alert("小说信息错误!");
        return;
    }
    
    MyAjax.ExcuteScript("bookcase",bookName,ShowBack);
 }
 function ShowBack(ret)
 {
    alert(ret.value);
 }
 </script>
<div class="container">
<asp:Label ID="lblScript" runat="server"></asp:Label>
        <div class="box contenInfo">
            <div class="navigation">
                当前位置:<a href="http://www.tiyma.com">体验码小说网</a>&gt;<asp:Label ID="lblBookInfo" runat="server"></asp:Label>
            </div>
            <div class="content">
                <div class="contentMain">
                    <div class="movieInfo">
                        <div class="moviePic" id="divICON" runat="server">
                        </div>
                        <div class="movieDetail">
                            <p>
                                <strong>类型: </strong><span>
                                    <asp:Label ID="lblCategoryName" runat="server"></asp:Label>
                                </span>
                            </p>
                            <p>
                                <strong>作者: </strong><span>
                                    <asp:Label ID="lblAuthorName" runat="server"></asp:Label></span>
                            </p>
                            <p>
                                <strong>状态: </strong><span>连载中</span></p>
                            <p>
                                <strong>章节总数: </strong><span>
                                    <asp:Label ID="lblChapterCount" runat="server"></asp:Label></span></p>
                            <p>
                                <strong>更新时间: </strong><span>
                                    <asp:Label ID="lblUpdateTime" runat="server"></asp:Label></span></p>
                            <p>
                                <strong>最新章节: </strong>
                                <asp:Label ID="lblLastUpdateChapter" runat="server"></asp:Label>
                            </p>
                        </div>
                        <div class="operation">
                            <p>
                                <a href="javascript:AddBookCase();">+加入书架</a></p>
                        </div>
                    </div>
                    <h3>
                        小说简介</h3>
                    <div class="movieIntro">
                        <asp:Label ID="lblDescription" runat="server"></asp:Label>
                    </div>
                </div>
                <div class="contentSide">
                    <h3>
                        也许您会喜欢看</h3>
                       
                    <div class="movList">
                       <asp:Label ID="lblRecommend" runat="server"></asp:Label>
                    </div>
                </div>
            </div>
            <div class="bookList">
                <div class="bookListTitle">
                    正文</div>
                <div class="book_listtext">
                    <asp:Label ID="lblChapter" runat="server"></asp:Label>
                </div>
            </div>
            <script>
            var m_status="<%=m_status %>";
            var m_b_bookId="<%=m_book_id %>";
            var m_b_book_icon="<%=m_book_icon %>";
        
            MyAjax.ExcuteScript("bookclick",m_b_bookId+"$"+m_b_book_icon+"$"+m_status,ShowClickBack);
            function ShowClickBack(ret)
            {
            }
            </script>
        </div>
    </div>
</asp:Content>
